Duplicate Checking

Checks for duplicate PIN, Card Number, KLES Input LED or Module Address in the database.

Type: DuplicateCheck

Copy
http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=DuplicateCheck&SubType=<SubType>

Options

Depending on the subtype and request parameters used, there are a number of different options for checking duplicates.

  • PINs

  • Card Number

  • KLES Input LED (legacy option)

  • Module Address

PIN

Check for duplicate PIN.

Copy
http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=DuplicateCheck&SubType=GXT_USERS_TBL&PINNumber=123456&User=1&TreatPlusOne=0

SubType

  • GXT_USERS_TBL

Request Parameters

Parameter

Example

Description

PINNumber

1234

The PIN to check

User

1

The ID of the user you are checking for. This excludes them from the check so it won't match against their current PIN

TreatPlusOne

0

If Treat User PIN + 1 As Duress is enabled this will be 1 otherwise 0

Card Number

Check for a duplicate card number.

Copy
http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=DuplicateCheck&SubType=GXT_USERS_TBL&CardFac=1&CardNum=1&User=41

SubType

  • GXT_USERS_TBL

Request Parameters

Parameter

Example

Description

CardFac

1

The card facility number to check

CardNum

1

The card number to check

User

10

The ID of the user you are checking for. This excludes them from the check so it won't match against their current card numbers

Input KLES LED

Check for duplicate KLES LED when assigning inputs to an area. This is not critical as it is a legacy option.

Copy
http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=DuplicateCheck&SubType=InputLedDisplay&InputId=1&AreaId=1&LedReference=1

SubType

  • InputLedDisplay

Request Parameters

Parameter

Example

Description

InputId

1

The ID of the input to check

AreaId

1

The ID of the area to check

LedReference

1

The KLES LED to check

Module Address

Check for duplicates before setting the module address.

Copy
http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=DuplicateCheck&SubType=GXT_READEREXPANDERS_TBL&PhysicalAddress=1

SubTypes

  • GXT_READEREXPANDERS_TBL

  • GXT_INPUTEXPANDERS_TBL

  • GXT_PGMEXPANDERS_TBL

  • GXT_KEYPADS_TBL

  • GXT_ANALOGEXPANDERS_TBL

Request Parameters

Parameter

Example

Description

PhysicalAddress

1

The Module Address to check

Success Response

If there is no match:

Copy
No match

If there is a duplicate:

Copy
Duplicate

Errors

Copy
Request Failed (1) Could not load the database.
Copy
Request Failed (2) Could not find the specified table type in the database.
Copy
Request Failed (128) The match parameters were not recognised.
Copy
Request Failed (128) Request SubType not recognised.